#ifndef FINDWIDGET_H
#define FINDWIDGET_H

#include <QtGui/QWidget>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QHBoxLayout>

class FindWidget : public QWidget
{
    Q_OBJECT
protected:
    void closeEvent(QCloseEvent *event);

public:
    FindWidget();

    QString currStr;
    QLineEdit *findStr;
    QPushButton *findButton;

signals:
    void findClose();

private:
    QLabel *findLabel;
    QVBoxLayout *layout;
    QHBoxLayout *layoutButton;
};

#endif // FINDWIDGET_H
